<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div id="tb4"
    title="Editable DataGrid",
     singleSelect="true"
>
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-add',plain:true" onclick="add4()">新增</a>
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-remove',plain:true" onclick="del4()">删除</a>
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-reload',plain:true" onclick="relo4()">刷新</a>
</div>

<table id="tt4" style="width:600px;height:200px">
    <thead>
    <tr>
        <th data-options="field:'workplace',editor:'text',width:50">工作单位</th>
        <th data-options="field:'job',editor:'text',width:50">职位</th>
        <th data-options="field:'duty',align:'right',editor:'text',width:50">职务</th>
        <th data-options="field:'beginDate',align:'right',editor:'datebox',width:50">开始日期</th>
        <th data-options="field:'endDate',editor:'datebox',width:50">结束日期</th>
        <th data-options="field:'remark',align:'center',editor:'text',width:50">备注</th>
    </tr>
    </thead>
</table>